﻿#ifndef PAGEDRESULTDTO_H
#define PAGEDRESULTDTO_H

#include "./rapidjson/AIGCJson.hpp"

using namespace std;
using namespace aigc;

template<class T>

class PagedResultDto
{
public:
    int          maxResultCount;
    int          currentPage;
    string       sorting;
    int          filterText;
    int          totalCount;
    int          totalPages;
    vector<T> data;
    bool         showPrevious;
    bool         showNext;
    bool         showFirst;
    bool         showLast;

    AIGC_JSON_HELPER(maxResultCount,currentPage,sorting,filterText,totalCount,totalPages,data,showPrevious,showNext,showNext,showLast)
};

#endif // PAGEDRESULTDTO_H
